﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yuekao.Domain.dto
{
   public class DoctorDetailDto
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int DetailsId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [StringLength(30)]
        public string PatientName { get; set; } = string.Empty;

        /// <summary>
        /// 手机号
        /// </summary>
        [StringLength(30)]
        public string CardNumber { get; set; } = string.Empty;

        /// <summary>
        /// 性别
        /// </summary>
        [StringLength(30)]
        public string CardType { get; set; } = string.Empty;

        /// <summary>
        /// 银行卡号
        /// </summary>
        [StringLength(30)]
        public string IDCard { get; set; } = string.Empty;

        /// <summary>
        /// 医生照片
        /// </summary>
        [StringLength(30)]
        public string NickName { get; set; } = string.Empty;

        /// <summary>
        /// 擅长
        /// </summary>
        public string Begood { get; set; } = string.Empty;

        /// <summary>
        /// 简介
        /// </summary>
        public string Introduction { get; set; } = string.Empty;

        /// <summary>
        /// 证书
        /// </summary>
        public string Certificate { get; set; } = string.Empty;

        /// <summary>
        /// 医生外键
        /// </summary>
        public int DoctorId { get; set; }
        /// <summary>
        /// 所属医院
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 院区名称
        /// </summary>
        [StringLength(30)]
        public string HospitalName { get; set; } = string.Empty;
        /// <summary>
        /// 所属职称
        /// </summary>
        public int WorkId { get; set; }
        /// <summary>
        /// 职称名称
        /// </summary>
        [StringLength(30)]
        public string WorkName { get; set; } = string.Empty;
        /// <summary>
        /// 所属科室
        /// </summary>
        public int OfficeId { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        [StringLength(30)]
        public string OfficeName { get; set; } = string.Empty;
        /// <summary>
        /// 加入时间
        /// </summary>
        public DateTime JoinTime { get; set; } = DateTime.Now;
    }
}
